fixed join > condition

had it comparing < before