Fix logic error with credits model