Fixes bug in account_activation