Fixes small bug in previous update

Signed-off-by: Bryan Deakin <runic@simplemachines.org>