Fixing bug in which user with only approve privilege was not able to approve