It surprised me too, Ray's always been portrayed as a good bloke in the show so far and he did just lie to save his neck. Maybe he panicked because he wants to stay with Kim, but I wouldn't have expected him to try and come between the two sisters like that.