John Rankin's side were denied a win over Falkirk by Alfredo Agyeman's late strike