Revert "Minor bugfix"

This reverts commit 719e9f23e912fbfd12648723df96e17ab1ec05e9.