Fixes bug introduced in the last commit