Only call affwp_get_users_licenses() once
Fix license type condition