get_related fixed tags OR query not excluding product ID

Related products were showing the same product as the currently viewed product because of the OR query missing the excluded IDs.  

See line 1203.