Fixed bug for checking when payments account