Fixes bug in the status update