Fixes another devise error related to #6