Closes #4824, thanks to @abh for processing my stupidity. Signed-off-by: aszlig <aszlig@redmoonstudios.org>