I have been told that by a few people but I think its just incase they dont get on...
I have 9 or 10 in my tank and they all get on fine...
I also have 2 in another tank from the group that decided to mate
Its safe to do but just keep an eye on them as they may not get on.... (Someone more experienced may be able to help a bit more)