Fixed typo in last checkin (role check)

Main code rev. 1874