Selena Gomez admitted that her role in the series ‘Only Murders in the Building’ was originally male