Fixed bug in negotiation of new data connection.

Signed-off-by: Jiri Hnidek <jiri.hnidek@tul.cz>